#include <stdio.h>
int main()
{
	float x = 0;
	scanf("%f", &x);
	float t = 3;
	if ( x > 0.5 ) {
		x = x - 0.5;
		t += x / 0.2;
	}	
	printf("%d", (int)t);
	return 0;
}
